package dao;

import domain.OrderItem;

import java.util.List;

public interface OrderItemDao {
    int saveOrderItem(OrderItem orderItem);

    /**
     * 根据订单号查询订单明细
     * @param orderId
     * @return
     */
    List<OrderItem > queryOrderItemsByOrderId(String orderId);
}
